#ifndef _ST_CRC16_H
#define _ST_CRC16_H

#include <rtthread.h>
#include <stdint.h>

uint16_t calcCRC(uint8_t *data, uint32_t size);
uint16_t modbusCrc16(uint8_t *data, uint32_t size);

#endif
